package com.gaofeng.day12;

public class demo03 {
    //
    public static void main(String[] args) {
        Door door = new Door();
//        door.close();

        //
        GirlFriend gf = new GirlFriend();

        gf.setAge(90);
        int age = gf.getAge();
        System.out.println(age);

        GirlFriend gf2 = new GirlFriend(100);
        System.out.println(gf2.getAge());
    }
}
